package com.daka.service;

import com.daka.entity.Group;
import com.daka.entity.Volunteer;

import java.util.List;

/**
 * @author beliveli on 2016/4/6 0006.
 */
@SuppressWarnings("unused")
public interface GroupService {
    Group selectById(int id);

    List<Volunteer> selectVolById(int id);

    List<Group> selectByOrg(String orgCode);

    List<Group> selectPageByOrg(String orgCode, String groupName, Integer pageIndex, Integer pageSize);

    int selectCountByOrg(String orgCode, String groupName);

    List<Volunteer> selectVolPageById(Integer groupId, String groupName, Integer pageIndex, Integer pageSize);

    int selectVolCountById(Integer groupId, String groupName);

    List<Group> selectAll();

    int updatePlatform(Integer platform,Integer id,String onePass);
}
